package api

import (
	"gin_cli/controllers/v1"

	"github.com/gin-gonic/gin"
)

func Member(apiv1 *gin.RouterGroup) {
	apiv1.GET("/member", new(v1.Member).GetInfo)
	apiv1.GET("/member/pay/order", new(v1.Member).GetPayOrderList)
	apiv1.GET("/member/pay/order/:id", new(v1.Member).GetPayOrderByPayOrderID)
	apiv1.GET("/member/coin/log", new(v1.Member).GetCoinLogList)
	apiv1.GET("/member/coin/log/:id", new(v1.Member).GetCoinLogByID)
	apiv1.GET("/member/prize", new(v1.Member).GetPrizeList)
	apiv1.GET("/member/supplement", new(v1.Member).GetLogSupplementList)
	apiv1.GET("/member/qrcode", new(v1.Member).GetUserQrcode)
}
